package com.tianpengtech.front.web.passport;

import com.tianpengtech.common.model.authenticate.Authenticate;

public class AuthenticateSerivce {

	public static final AuthenticateSerivce ME = new AuthenticateSerivce();
	
	public Authenticate findAuthenticateByUserId(long uid){
		return Authenticate.dao.findFirstByCache(Authenticate.class.getSimpleName(), uid, "select * from fair_user_authenticate where user_id=?",uid);
	}
	
}
